{include file=header.html}
<div id="slide_wrap" class="spec-slide-wrap">
	<ul id="slide" class="slide">
		<!-- 解析背景图 -->
		<li class="slide-bg1">
			<a href="" target="_blank" title=""></a>
		</li>
	</ul>
	<ul id="slide_slist" class="slide-slist"></ul>
	<a id="slide_prev" class="slide-prev">&#xe6d5;</a>
      <a id="slide_next" class="slide-next">&#xe6d8;</a>
</div>
<div class="content">
	<dl class="special-new">
		<dt>
			<h2>最新特价</h2> <i class="tips">不用挑，快速购！</i>
		</dt>
		<dd>
			<ul class="f-cb" id="special_new">
                       <!--{foreach from=$new_sales item=goods}-->
				<li>
					<div class="slide">
						<div class="img">
							<a href="{url app=goods&id=$goods.goods_id}">
								<img src="{$goods.default_image}" alt="" title="" width="258" height="258" />
							</a>
						</div>
						<p class="title">
							<a href="{url app=goods&id=$goods.goods_id}" target="_blank" title="{$goods.goods_name|escape}">{$goods.goods_name|escape}</a>
						</p>
						<p class="price">
							<b>￥</b>
							<span>{$goods.price}</span>
							<i class="ignore">市场价：</i>
							<i>￥{$goods.market_price}</i>
						</p>
					</div>
				</li>
                        <!--{/foreach}-->
			</ul>
		</dd>
	</dl>
	<dl class="special-all">
		<dt>
			<h2>全部特价</h2>
			<i class="tips">精选好货限时特卖！</i>
		</dt>
		<dd class="condition">
			<ul class="f-cb">
				<li>
					<a href="{url app=sale}">全部</a>
				</li>
                        <!--{foreach from=$cates item=cate}-->
                        <li><a href="{url app=sale&cate_id=$cate.cate_id}">{$cate.cate_name|escape}</a></li>
                        <!--{/foreach}-->
			</ul>
		</dd>
		<dd class="cont">
			<ul class="f-cb" id="special_all">
                        <!--{foreach from=$sale_list item=goods}-->
				<li>
					<div class="slide">
						<div class="img">
							<a href="{url app=goods&id=$goods.goods_id}">
								<img src="{$goods.default_image}" alt="" title="" width="258" height="258" />
							</a>
						</div>
						<p class="title">
							<a href="{url app=goods&id=$goods.goods_id}" target="_blank" title="{$goods.goods_name|escape}">{$goods.goods_name|escape}</a>
						</p>
						<p class="price">
							<b>￥</b>
							<span>{$goods.price}</span>
							<i class="ignore">市场价：</i>
							<i>￥{$goods.market_price}</i>
						</p>
					</div>
				</li>
                        <!--{/foreach}-->
			</ul>
                        <div class="goods-page-wrap f-cb">
                            <div class="goods-page">{include file=goods.page.bottom.html}</div>
                        </div>
		</dd>
	</dl>
</div>
<script type="text/javascript" src="{lib file=slide_bg.js}"></script>
<script type="text/javascript">
	$(function(){
		var slideObj = new Slide({
			'time': 5000,
			'speed': 400,
			'autoStart': 'true'
		});
		slideObj.init({
			'imgUl': '#slide',
			'listUl': '#slide_slist',
			'prevBtn': '#slide_prev',
			'nextBtn': '#slide_next'
		});
		jQuery('#special_all > li , #special_new > li').hover(function(){
			$(this).children('.slide').stop().animate({'top': '-2'},300);
		},function(){
			$(this).children('.slide').stop().animate({'top': '0'},300);
		});
	});
</script>
{include file=footer.index.html}